package org.example.demo;

/**
 * @ClassName Test
 * @Description
 * @Author zhangsw
 * @Date 2020/10/28 10:17
 * @Version 1.0
 */
public class Test {

    public static void main(String[] args) {
//        String aaaaaaa = AES.Encrypt("aaaaaaa");
//        System.err.println(aaaaaaa);
//        String decrypt = AES.Decrypt(aaaaaaa);
//        System.err.println(decrypt);
        String encrypt2 = AES.Encrypt2("aaaaaaaaaaaaaaaaaa", "Hlkj@~_^&&123_78", "0201080306050704");
        System.err.println(encrypt2);
        String s = AES.CustomDecrypt(encrypt2, "Hlkj@~_^&&123_78", "0201080306050704");
        System.err.println(s);
    }
}
